/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ntb.models;

import com.ntb.entities.Contact;
import java.util.Iterator;

/**
 *
 * @author DATBP
 */
public interface ContactDAO {

    public int countAll();

    public Iterator<Contact> getLast(int count);

    public Iterator<Contact> getList(String name, String email, int status, int page);

    public int getPageCount(String name, String email, int status);

    public Contact getRow(int id);

    public int add(Contact object);

    public int updateStatus(int id);

    public int delete(int id);
}
